﻿<?php
/**
 * Classe Db da tabela TB_NOTA_FISCAL_ITEM
 * 
 * @author			Mário R. Castro
 * @copyright		Voitech Sistema
 * @package			SEMAS
 * @subpackage		semas.application.models.Db
 * @version			1.0
*/
class App_Model_Db_NotaFiscalItem extends Voitech_Db{

	protected $_name 		= 'tb_nota_fiscal_item';
    protected $_primary 	= 'co_nota_fiscal_item';
	
	static private $instancia;

	/**
	 * @return App_Model_Db_NotaFiscalItem
	 */
	static public function build() {
		if( !isset( self::$instancia ) ) {
			$classe = __CLASS__;
			self::$instancia = new $classe();
		}
		return self::$instancia;
	}
	
	
	
}